package com.jpro.module.system.api.logger.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(name = "RPC 服务 - 系统操作日志 删除 Request DTO")
@Data
public class OperateLogDelReqDTO {

    @Schema(description = "保留日志天数", requiredMode = Schema.RequiredMode.REQUIRED, example = "365")
    @NotNull(message = "保留日志天数不能为空")
    private Integer days;

}
